/*
 *Copyright (c) 2012 mango Persistence Model
 */
package ext.mango.ab.eo;

import mango.orm.entity.Entity;
import mango.orm.entity.Table;
import mango.orm.entity.Column;
import mango.orm.OrmTypes;
import java.sql.Types;

/**
 * ABType
 * @serial 1327393509750
 */
@Table("ABTYPE")
public class EOABType extends Entity {
    private static final long serialVersionUID = -132739350975038316L;

    @Column(column="ID", primary=true, type=Types.VARCHAR)
    public String getID() {
        return OrmTypes.convert(String.class, this.get("ID"));
    }

    public EOABType setID(String iD) {
        this.set("ID", iD);
        return this;
    }

    @Column(column="TNVARCHAR", primary=false, type=Types.VARCHAR)
    public String getTNVARCHAR() {
        return OrmTypes.convert(String.class, this.get("TNVARCHAR"));
    }

    public EOABType setTNVARCHAR(String tNVARCHAR) {
        this.set("TNVARCHAR", tNVARCHAR);
        return this;
    }

    @Column(column="TNCHAR", primary=false, type=Types.CHAR)
    public String getTNCHAR() {
        return OrmTypes.convert(String.class, this.get("TNCHAR"));
    }

    public EOABType setTNCHAR(String tNCHAR) {
        this.set("TNCHAR", tNCHAR);
        return this;
    }

    @Column(column="TDECIMAL", primary=false, type=Types.DOUBLE)
    public Double getTDECIMAL() {
        return OrmTypes.convert(Double.class, this.get("TDECIMAL"));
    }

    public EOABType setTDECIMAL(Double tDECIMAL) {
        this.set("TDECIMAL", tDECIMAL);
        return this;
    }

    @Column(column="TFLOAT", primary=false, type=Types.DOUBLE)
    public Double getTFLOAT() {
        return OrmTypes.convert(Double.class, this.get("TFLOAT"));
    }

    public EOABType setTFLOAT(Double tFLOAT) {
        this.set("TFLOAT", tFLOAT);
        return this;
    }

}
